import path from 'path'

export default {
  preprocessorOptions: {
    less: {
      javascriptEnabled: true,
      // 将变量放到去全局引入的less文件中
      modifyVars: {
        hack: `true; @import (reference) "${path.resolve('src/styles/index.less')}";`
      }
    }
  },
  postcss: {
    plugins: []
  }
}
